#ifndef __DOORBELL_WS_H
#define __DOORBELL_WS_H
#include "debug.h"
#include "doorbell_sound.h"
#include "esp_task.h"
#include "doorbell_video.h"

#define DIR_ESP2CLIENT 0
#define DIR_CLIENT2ESP 2
void doorbell_ws_Init(void);
void doorbell_ws_audio_open(uint8_t dir);
void doorbell_ws_audio_close(uint8_t dir);

void doorbell_ws_video_open(uint8_t dir);
void doorbell_ws_video_close(uint8_t dir);
#endif
